package com.ql.pojo.sheBeiGuanLi;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

public class SheBeiKuCun {//设备库存

  private int sId;//设备表id
  private String xzId;//新增产品id
  private String zt;//状态(0:正常 1:维修 2:报废)
  private String sbCode;//设备编号
  private String sbType;//设备型号
  private String cpType;//产品类型(类型表获取)
  private String cpUse;//产品用途
  private int keshi;//使用科室(科室表获取)
  private int sbNumber;//设备数量

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date rukuTime;//入库时间
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date chukuTime;//出库时间
  private Date xiugaiTime;//修改时间
  private String modified;//修改者

  //add for kName 12 24
  private String kName;//科室名称

  //add for kName 12 27
  private String mohuName;//模糊查询名称

  //add for qiexie 12.29
  private String qxName;//器械类型

  public String getQxName() {
    return qxName;
  }

  public void setQxName(String qxName) {
    this.qxName = qxName;
  }

  public String getMohuName() {
    return mohuName;
  }

  public void setMohuName(String mohuName) {
    this.mohuName = mohuName;
  }

  public String getkName() {
    return kName;
  }

  public void setkName(String kName) {
    this.kName = kName;
  }

  public SheBeiKuCun() {
  }
  public SheBeiKuCun(int sId, String xzId, String zt, String sbCode, String sbType, String cpType, String cpUse, int keshi, int sbNumber, Date rukuTime, Date chukuTime, Date xiugaiTime, String modified) {
    this.sId = sId;
    this.xzId = xzId;
    this.zt = zt;
    this.sbCode = sbCode;
    this.sbType = sbType;
    this.cpType = cpType;
    this.cpUse = cpUse;
    this.keshi = keshi;
    this.sbNumber = sbNumber;
    this.rukuTime = rukuTime;
    this.chukuTime = chukuTime;
    this.xiugaiTime = xiugaiTime;
    this.modified = modified;
  }

  public SheBeiKuCun(int sId, String xzId, String zt, String sbCode, String sbType, String cpType, String cpUse, int keshi, int sbNumber, Date xiugaiTime, String modified) {
    this.sId = sId;
    this.xzId = xzId;
    this.zt = zt;
    this.sbCode = sbCode;
    this.sbType = sbType;
    this.cpType = cpType;
    this.cpUse = cpUse;
    this.keshi = keshi;
    this.sbNumber = sbNumber;
    this.xiugaiTime = xiugaiTime;
    this.modified = modified;
  }

  public int getsId() {
    return sId;
  }

  public void setsId(int sId) {
    this.sId = sId;
  }

  public String getXzId() {
    return xzId;
  }

  public void setXzId(String xzId) {
    this.xzId = xzId;
  }

  public String getZt() {
    return zt;
  }

  public void setZt(String zt) {
    this.zt = zt;
  }

  public String getSbCode() {
    return sbCode;
  }

  public void setSbCode(String sbCode) {
    this.sbCode = sbCode;
  }

  public String getSbType() {
    return sbType;
  }

  public void setSbType(String sbType) {
    this.sbType = sbType;
  }

  public String getCpType() {
    return cpType;
  }

  public void setCpType(String cpType) {
    this.cpType = cpType;
  }

  public String getCpUse() {
    return cpUse;
  }

  public void setCpUse(String cpUse) {
    this.cpUse = cpUse;
  }

  public int getKeshi() {
    return keshi;
  }

  public void setKeshi(int keshi) {
    this.keshi = keshi;
  }

  public int getSbNumber() {
    return sbNumber;
  }

  public void setSbNumber(int sbNumber) {
    this.sbNumber = sbNumber;
  }

  public Date getRukuTime() {
    return rukuTime;
  }

  public void setRukuTime(Date rukuTime) {
    this.rukuTime = rukuTime;
  }

  public Date getChukuTime() {
    return chukuTime;
  }

  public void setChukuTime(Date chukuTime) {
    this.chukuTime = chukuTime;
  }

  public Date getXiugaiTime() {
    return xiugaiTime;
  }

  public void setXiugaiTime(Date xiugaiTime) {
    this.xiugaiTime = xiugaiTime;
  }

  public String getModified() {
    return modified;
  }

  public void setModified(String modified) {
    this.modified = modified;
  }

  @Override
  public String toString() {
    return "Shebeikucun{" +
            "sId=" + sId +
            ", xzId=" + xzId +
            ", zt=" + zt +
            ", sbCode=" + sbCode +
            ", sbType='" + sbType + '\'' +
            ", cpType=" + cpType +
            ", cpUse='" + cpUse + '\'' +
            ", keshi=" + keshi +
            ", sbNumber=" + sbNumber +
            ", rukuTime=" + rukuTime +
            ", chukuTime=" + chukuTime +
            ", xiugaiTime=" + xiugaiTime +
            ", modified='" + modified + '\'' +
            '}';
  }
}
